package cn.liujing.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Service
@FeignClient(value = "cloud-payment-hystrixservice",fallback = FallbackService.class)
public interface OrderService {
    @RequestMapping("/hyystrix/test1/{id}")
    public String ok(@PathVariable("id") String id);
}
